package cn.yuanyu.tkmapper.mappers;

import cn.yuanyu.tkmapper.entities.Employee;

import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 具体操作数据库的Mapper接口，需要继承通用Mapper提供的核心接口 Mapper<Employee>，泛型类型就是实体类的类型
 *
 * @author yuanyu
 */
public interface EmployeeMapper extends Mapper<Employee> {

    Integer batchUpdateAgeByEmpId(@Param("age") Integer age, @Param("empIdList") List<Integer> empIdList);
}
